package com.smooth.site.sx.pc.company.enums;

public enum CompScalEnums {
	
	wushi(1, "0-50（人）"),
	yibai(2, "50-100（人）"),
	wubai(3, "100-500（人）"),
	yiqian(4, "500-1000（人）"),
	yishang(5, "1000以上（人）"),
//	1 	私营 	
//	2 	国企 	
//	3 	中外合资 	
//	4 	外资
	;

	public Integer value;
	public String name;

	CompScalEnums(int value, String name) {
		this.value = value;
		this.name = name;
	}

	public static CompScalEnums getStatus(Integer value) {
		if (value != null) {
			CompScalEnums[] otypes = CompScalEnums.values();
			for (CompScalEnums memberType : otypes) {
				if (value.equals(memberType.value)) {
					return memberType;
				}
			}
		}
		return null;
	}
}
